﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Update.aspx.cs" Inherits="SampleWebApplication.Update" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style4
        {
            font-size: xx-large;
            font-weight: bold;
        }
        .style5
        {
            width: 100%;
        }
        .style6
        {
            width: 297px;
        }
        .style7
        {
            width: 92px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        <br />
        <span class="style4">Update User</span></p>
    <p>
        <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="Load" 
            DataTextField="id" DataValueField="id" AutoPostBack="True"
            onselectedindexchanged="DropDownList1_SelectedIndexChanged">
        </asp:DropDownList>
        <asp:SqlDataSource ID="Load" runat="server" 
            ConnectionString="<%$ ConnectionStrings:CompanyConnectionString %>" 
            SelectCommand="SELECT [id] FROM [customer]"></asp:SqlDataSource>
        <table class="style5">
            <tr>
                <td align="right" class="style6">
                    &nbsp;</td>
                <td align="left" colspan="2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style6">
                    Name</td>
                <td align="left" colspan="2">
                    <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style6">
                    Address</td>
                <td align="left" colspan="2">
                    <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style6">
                    Birthdata</td>
                <td align="left" colspan="2">
                    <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style6">
                    Age</td>
                <td align="left" colspan="2">
                    <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style6">
                    &nbsp;</td>
                <td align="left" class="style7">
                    <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="Update" />
                </td>
                <td align="left">
                    <asp:Button ID="Button4" runat="server" Text="Reset" />
                </td>
            </tr>
            <tr>
                <td align="right" class="style6">
                    &nbsp;</td>
                <td align="left" colspan="2">
                    <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
        </table>
    </p>
    <p>
    </p>
</asp:Content>
